package com.lsc.www.day09.hm;

import java.util.Scanner;

public class h8 {
    public static void main(String[] args) {
        System.out.println("输入年份：");
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(); // 年份

        if ((x % 4 == 0 && x % 100 != 0) || x % 400 == 0) {
            System.out.println("闰年");
        } else {
            System.out.println("平年");
        }
    }
}
